package ${exceptionPackageName};

import lombok.Data;
import lombok.EqualsAndHashCode;
import net.newfirst.common.core.exception.JulianException;
import net.newfirst.common.core.result.Result;

@Data
@EqualsAndHashCode(callSuper = false)
public class ${exceptionName} extends JulianException{

	private static final long serialVersionUID = -4454127915818660339L;
	
	public ${exceptionName}() {
		super();
	}
	
	public ${exceptionName}(String message) {
		super(message);
	}
	
	public ${exceptionName}(int errorCode, String message) {
		super(errorCode,message);
	}

	public ${exceptionName}(Result<?> result) {
		super(result);
	}

	public ${exceptionName}(Enum<?> em){
		super(em);
	}
	
	public ${exceptionName}(Enum<?> em,Object... param){
		super(em,param);
	}

	public ${exceptionName}(Throwable cause) {
		super(cause);
	}

	public ${exceptionName}(String message, Throwable cause) {
		super(message, cause);
	}
}


